import { Module } from '@nestjs/common';
import { LogController } from './log.controller';
import { LogService } from './log.service';

@Module({
  controllers: [LogController],
  providers: [LogService],
  //我们要在`LogModule`模块以为的模块使用到上面定义的`log`和`error`方法就要在`LogModule`中对外暴露出去
  exports: [LogService],
})
export class LogModule {}
